
const locales = {};

require.context('../', true, /\.\/.*\/locales\/en\.js$/)
 .keys().forEach( file => {
   console.log(file);
   Object.assign(locales, require(`../${file.slice(2)}`));
 })

module.exports = locales;
